//
//  SystemHelper.h
//  CarCare
//
//  Created by ileo on 14-9-28.
//  Copyright (c) 2014年 baozun. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ScreenMgr.h"
#import "AISystemInfo.h"


#define SYSTEMHELPER [SystemHelper sharedInstance]

#define APPID @"900393162"
#define APP_URL @"sen t"
#define APP_STORE @"itms-apps://itunes.apple.com/app/id900393162"

extern NSString * const APP_WAKE_FROM_BG; //从后台唤醒

@interface SystemHelper : NSObject <UIGestureRecognizerDelegate>

+ (instancetype)sharedInstance;

@property (nonatomic, assign, readonly) BOOL hasViolationTimes;
@property (nonatomic, assign, readonly) BOOL isFirstTime;

-(void)configuration;
-(void)readAllNotification;

-(void)clearIconNum;

-(BOOL)allowPushNotification;

-(BOOL)isOpenMedia;

-(void)callPhone:(NSString *)phone;

//返回升级所需的dic
- (NSDictionary *)loadUpdateDic;

@end
